package com.InvoicingSystem.service;

import java.util.List;
import java.util.Map;

import com.InvoicingSystem.pojo.Sale;
import com.InvoicingSystem.pojo.UserInfo;

public interface SaleServices {

	boolean addSale(Sale sale, UserInfo userInfo);

	public List<Map<String, Object>> findPageAll(Integer indexPage, Integer pageSize, Integer orderByIndex);

	public int findTotalPage(Integer pageSize);

	public int findTotalTable();
}
